/*
 * Android Runner is a multiplayer GPS game fully written by Xurxo Mendez Perez
 * 
 * Copyright (C) 2009 Xurxo Mendez Perez
 *   
 * This file is part of Android Runner.
 * 
 * Android Runner is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 * 
 * Android Runner is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU General Public License for more details.
 * 
 * You should have received a copy of the GNU General Public License
 * along with Android Runner.  If not, see <http://www.gnu.org/licenses/>.
 */

package es.sonxurxo.gpsgame.client.cv.to;

import java.io.Serializable;

/**
 * 
 * @author "Xurxo Mendez Perez"
 *
 */
public class Options implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 5727930066909134172L;
	private boolean notifyMessages;
	private boolean notifyGets;
	private boolean notifyJoins;
	private boolean notifyLeaves;
	private boolean followMe;
	private boolean showRankingOnGet;
	
	private int updatesInterval;

	public Options(boolean notifyMessages, boolean notifyGets,
			boolean notifyJoins, boolean notifyLeaves, boolean followMe, 
			boolean showRankingOnGet, int updatesInterval) {
		super();
		this.notifyMessages = notifyMessages;
		this.notifyGets = notifyGets;
		this.notifyJoins = notifyJoins;
		this.notifyLeaves = notifyLeaves;
		this.followMe = followMe;
		this.showRankingOnGet = showRankingOnGet;
		this.updatesInterval = updatesInterval;
	}

	public boolean isFollowMe() {
		return followMe;
	}

	public boolean isShowRankingOnGet() {
		return showRankingOnGet;
	}

	public void setShowRankingOnGet(boolean showRankingOnGet) {
		this.showRankingOnGet = showRankingOnGet;
	}

	public void setFollowMe(boolean followMe) {
		this.followMe = followMe;
	}

	public boolean isNotifyMessages() {
		return notifyMessages;
	}

	public void setNotifyMessages(boolean notifyMessages) {
		this.notifyMessages = notifyMessages;
	}

	public boolean isNotifyGets() {
		return notifyGets;
	}

	public void setNotifyGets(boolean notifyGets) {
		this.notifyGets = notifyGets;
	}

	public boolean isNotifyJoins() {
		return notifyJoins;
	}

	public void setNotifyJoins(boolean notifyJoins) {
		this.notifyJoins = notifyJoins;
	}

	public boolean isNotifyLeaves() {
		return notifyLeaves;
	}

	public void setNotifyLeaves(boolean notifyLeaves) {
		this.notifyLeaves = notifyLeaves;
	}

	public int getUpdatesInterval() {
		return updatesInterval;
	}

	public void setUpdatesInterval(int updatesInterval) {
		this.updatesInterval = updatesInterval;
	}
	
	
}
